<template>
  <div v-if="node" class="space-y-4">
    <h3 class="text-lg font-bold">Node: {{ node.name }}</h3>
    <input v-model="node.data.config" class="w-full p-2 border rounded" placeholder="Config (e.g., API URL)" />
  </div>
  <div v-else>No node selected</div>
</template>

<script>
export default {
  props: ['node'],
};
</script>
